package com.fangyouyun.mapper;

import com.fangyouyun.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public class UserDao {
    public List<User> queryAll() {
        List<User> list = new ArrayList<User>();
        list.add(new User("zhangsan", "123"));
        list.add(new User("lisi", "456"));
        return list;
    }
}
